import Vue, {onMounted} from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import axios from 'axios';
import async from "async";
import {quillEditor} from "vue-quill-editor/dist/ssr";
import 'quill/dist/quill.bubble.css'
import 'quill/dist/quill.core.css'
import 'quill/dist/quill.snow.css'
import qs from 'qs';
import JsonExcel from "vue-json-excel";
import jwt_decode from 'jwt-decode';
axios.defaults.withCredentials=true;


Vue.component('downloadExcel',JsonExcel)
Vue.prototype.jwt_decode = jwt_decode;
Vue.prototype.qs = qs;
Vue.use(quillEditor)
Vue.prototype.axios=axios;
Vue.prototype.async=async;
Vue.use(ElementUI);


new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')


